# Evolve GTK Theme

gtk_color_scheme = "base_color:#18191A\nbg_color:#151617\ntooltip_bg_color:#18191A\nselected_bg_color:#3D4345\ntext_color:#C3D4D4\nfg_color:#C3D4D1\ntooltip_fg_color:#C3D4D1\nselected_fg_color:#C3D4D4\nmenubar_bg_color:#151617\nmenubar_fg_color:#C3D4D1\ntoolbar_bg_color:#151617\ntoolbar_fg_color:#C3D4D4\nmenu_bg_color:#151617\nmenu_fg_color:#C3D4D4\npanel_bg_color:#151617\npanel_fg_color:#C3D4D4\nlink_color:#3D4345"

gtk-icon-sizes = "panel=16,16:gtk-button=16,16" # Icon sizes
gtk-button-images = 0 # Disables icons in buttons
gtk-toolbar-style = 1 # Enables text in toolbar
gtk-auto-mnemonics = 1 # Disables ugly lines under menu items

# Default Style

style "evolve-default" {
	xthickness = 1
	ythickness = 1

	GtkArrow::arrow-scaling= 0.5

	GtkButton::child-displacement-x = 0
	GtkButton::child-displacement-y = 0

	GtkButton::default-border = { 0, 0, 0, 0 }

	GtkCheckButton::indicator-size = 15

	# The following line hints to gecko (and possibly other appliations)
	# that the entry should be drawn transparently on the canvas.
	# Without this, gecko will fill in the background of the entry.
	GtkEntry::honors-transparent-bg-hint = 1
	GtkEntry::state-hint = 0

	GtkExpander::expander-size = 16

	GtkImage::x-ayatana-indicator-dynamic = 1

	GtkMenu::horizontal-padding = 0
	GtkMenu::vertical-padding = 0

	GtkMenuBar::internal-padding = 0
	GtkMenuBar::window-dragging = 1
	GtkMenuBar::shadow-type = GTK_SHADOW_NONE

	GtkMenuItem::arrow-scaling= 0.5

	GtkPaned::handle-size = 1

	GtkProgressBar::min-horizontal-bar-height = 10
	GtkProgressBar::min-vertical-bar-width = 10

	GtkRange::trough-border = 0
	GtkRange::slider-width = 15
	GtkRange::stepper-size = 15
	GtkRange::stepper_spacing = 0
	GtkRange::trough-under-steppers = 1

	GtkScale::slider-length = 14
	GtkScale::slider-width = 14
	GtkScale::trough-side-details = 1

	GtkScrollbar::activate-slider = 1
	GtkScrollbar::has-backward-stepper = 0
	GtkScrollbar::has-forward-stepper = 0
	GtkScrollbar::has-secondary-backward-stepper = 0
	GtkScrollbar::has-secondary-forward-stepper = 0
	GtkScrollbar::min-slider-length = 100
	GtkScrollbar::slider-width = 9
	GtkScrollbar::trough-border = 3

	GtkScrolledWindow::scrollbar-spacing = 0
	GtkScrolledWindow::scrollbars-within-bevel = 1

	GtkToolbar::internal-padding = 0

	GtkTreeView::expander-size = 11
	GtkTreeView::vertical-separator = 0

	GtkWidget::focus-padding = 2
	GtkWidget::new-tooltip-style = 0

	GtkWidget::wide-separators = 1
	GtkWidget::separator-width = 1
	GtkWidget::separator-height = 1

	GtkWindow::resize-grip-height = 0
	GtkWindow::resize-grip-width = 0

	WnckTasklist::fade-overlay-rect = 0

	GtkWidget::link-color = @link_color
	GtkWidget::visited-link-color = @text_color

	fg[NORMAL] = @fg_color
	fg[PRELIGHT] = @fg_color
	fg[SELECTED] = @selected_fg_color
	fg[ACTIVE] = @fg_color
	fg[INSENSITIVE] = mix (0.5, @bg_color, @fg_color)

	bg[NORMAL] = @bg_color
	bg[PRELIGHT] = shade (1.02, @bg_color)
	bg[SELECTED] = @selected_bg_color
	bg[INSENSITIVE] = @bg_color
	bg[ACTIVE] = shade (0.9, @bg_color)

	base[NORMAL] = @base_color
	base[PRELIGHT] = shade (0.95, @bg_color)
	base[ACTIVE] = @selected_bg_color
	base[SELECTED] = @selected_bg_color
	base[INSENSITIVE] = @bg_color

	text[NORMAL] = @text_color
	text[PRELIGHT] = @text_color
	text[ACTIVE] = @selected_fg_color
	text[SELECTED] = @selected_fg_color
	text[INSENSITIVE] = mix (0.5, @bg_color, @text_color)

	engine "murrine" {
		animation = FALSE
		arrowstyle = 1 # 0 = normal arrows, 1 = filled arrows
		colorize_scrollbar = FALSE		
		comboboxstyle = 0 # 0 = normal combobox, 1 = colorized combobox below arrow
		contrast = 1.0
		focusstyle = 3 # 0 = none, 1 = grey dotted, 2 = colored with fill, 3 = colored glow
		glazestyle = 0 # 0 = flat highlight, 1 = curved highlight, 2 = concave, 3 = top curved highlight, 4 = beryl highlight
		glowstyle = 1
		gradient_shades = { 1.2, 1.1, 1.1, 0.97 }
		highlight_shade = 1.0
		lightborder_shade = 1.0
		lightborderstyle = 0 # 0 = lightborder on top side, 1 = lightborder on all sides
		listviewheaderstyle = 1 # 0 = flat, 1 = glassy, 2 = raised
		listviewstyle = 0 # 0 = none, 1 = dotted, 2 = line
		menubaritemstyle = 1 # 0 = menuitem look, 1 = button look
		menubarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
		menuitemstyle = 0 # 0 = flat, 1 = glassy, 2 = striped
		menustyle = 0 # 0 = none, 1 = vertical striped
		progressbarstyle = 0 # 0 = none, 1 = diagonal striped, 2 = vertical striped
		reliefstyle = 0 # 0 = flat, 1 = inset, 2 = shadow, 3 = shadow with gradient, 4 = stronger shadow with gradient
		roundness = 2
		scrollbarstyle = 0 # 0 = none, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles
		sliderstyle = 0	# 0 = none, 1 = handles
		stepperstyle = 0 # 0 = standard, 1 = integrated stepper handles
		toolbarstyle = 1 # 0 = flat, 1 = glassy, 2 = gradient
   }
}

style "evolve-wide" {
	xthickness = 2
	ythickness = 2
}

style "evolve-wider" {
	xthickness = 3
	ythickness = 3
}

# Notebook

style "evolve-notebook-bg" {
	bg[NORMAL] = shade (1.1, @bg_color)
	bg[ACTIVE] = shade (0.9, @bg_color)

	engine "murrine" {
		border_shades = { 0.9, 0.9 }
	}
}

style "evolve-notebook" = "evolve-notebook-bg" {
	xthickness = 2
	ythickness = 2

	engine "murrine" {
		roundness = 2
	}
}

# Various Standard Widgets

style "evolve-button" = "evolve-wider" {
	bg[NORMAL] = @bg_color
	bg[PRELIGHT] = shade (1.1, @bg_color)
	bg[ACTIVE] = shade (0.82, @bg_color)

  	engine "murrine" {
		roundness = 2
		glazestyle = 0
		highlight_shade = 1.0
	}
}

style "evolve-scrollbar" = "evolve-button" {
	bg[NORMAL] = @bg_color
	bg[PRELIGHT] = shade (0.8, @bg_color)
	bg[ACTIVE] = shade (1.4, @selected_bg_color)
	
	engine "murrine" {
		roundness = 4
		border_shades = { 1.4, 1.4  }
		gradient_shades = { 0.7, 0.7, 0.7, 0.7 }
		trough_shades = { 1.0, 1.0 }
		trough_border_shades = { 1.2, 1.2 }
    		lightborder_shade = 1.0
		lightborderstyle = 0
	}
}

style "evolve-overlay-scrollbar" {
	bg[ACTIVE] = shade (0.8, @bg_color)
	bg[INSENSITIVE] = shade (0.97, @bg_color)
	base[SELECTED]      = shade (0.6, @base_color)
	base[INSENSITIVE]   = shade (0.85, @base_color)
}

style "evolve-scale" = "evolve-default" {
	bg[NORMAL] = @bg_color
	bg[ACTIVE] = @bg_color
	bg[SELECTED]	= shade (1.0, @selected_bg_color)  
	bg[INSENSITIVE]	= shade (0.95, @bg_color)
	
	engine "murrine" {
		roundness = 7
		border_shades = { 1.0, 1.0 }
		trough_shades = { 1.1, 1.2 }
		trough_border_shades = { 0.9, 0.9 } 
	}
}

style "evolve-progressbar" = "evolve-default" {
	xthickness = 0
	ythickness = 0

	bg[NORMAL] = @bg_color
	bg[PRELIGHT] = shade (1.04, @bg_color)
	bg[ACTIVE] = shade (1.14, @bg_color)
	fg[PRELIGHT] = shade (0.9, @selected_fg_color)

	engine "murrine" {
		roundness = 2
		border_shades = { 1.2, 1.2 }
		gradient_shades = { 1.1, 1.0, 1.0, 0.9 }
		trough_border_shades = { 0.9, 0.9 }
	}
}

style "evolve-treeview-header" = "evolve-button" {
	xthickness = 2
	ythickness = 1

  	engine "murrine" {
		roundness = 0
	}
}

style "evolve-treeview" {
  	engine "murrine" {
		roundness = 0
	}
}

style "evolve-frame-title" {
	fg[NORMAL] = lighter (@fg_color)
}

style "evolve-tooltips" = "evolve-wider" {
	xthickness = 5
	ythickness = 5

	bg[NORMAL] = @bg_color
	fg[NORMAL] = @fg_color
	bg[SELECTED] = @bg_color

	engine "murrine" {
		textstyle = 0
		roundness = 2
		rgba = FALSE
	}
}

style "evolve-spinbutton" = "evolve-button" {
	xthickness = 4

	engine "murrine" {
	}
}

style "evolve-radiocheck" = "evolve-default" {
	text[NORMAL] = shade (0.8, @selected_bg_color)
	text[PRELIGHT] = shade (0.8, @selected_bg_color)
	bg[SELECTED] = @base_color
}

style "evolve-entry" = "evolve-wider" {
	bg[SELECTED] = mix (0.5, @selected_bg_color, @base_color)

	engine "murrine" {
		border_shades = { 1.2, 1.2 }
	}
}

style "metacity-frame" = "evolve-default" {
	bg[SELECTED] = @selected_bg_color
}

style "evolve-statusbar" { }
style "evolve-comboboxentry" = "evolve-entry" { }
style "evolve-hscale" = "evolve-scale" { }
style "evolve-vscale" = "evolve-scale" { }
style "evolve-hscrollbar" = "evolve-scrollbar" { }
style "evolve-vscrollbar" = "evolve-scrollbar" { }

# Menus

style "evolve-menu" {
	ythickness = 0
	xthickness = 0
	
	bg[SELECTED] = @selected_bg_color
	bg[NORMAL] = shade (1.0, @menu_bg_color)
	bg[PRELIGHT] = @selected_bg_color
	bg[ACTIVE] = shade (1.40, @menu_bg_color)
	bg[INSENSITIVE] = shade (1.40, @menu_bg_color)
	fg[NORMAL] = @menu_fg_color
	fg[PRELIGHT] = @selected_fg_color
	fg[SELECTED] = @selected_fg_color
	fg[ACTIVE] = @selected_fg_color
	fg[INSENSITIVE] = mix (0.35, shade (0.75, @menu_bg_color), @menu_fg_color)

	text[NORMAL] = @text_color
	text[PRELIGHT] = @selected_fg_color
	text[SELECTED] = @selected_fg_color
	text[ACTIVE] = @selected_fg_color
	text[INSENSITIVE] = mix (0.85, shade (0.75, @menu_bg_color), @menu_fg_color)

	engine "murrine" {
		roundness = 0
	}
}

style "evolve-menu-item" = "evolve-wider" {
	bg[SELECTED]	= @selected_bg_color
	bg[PRELIGHT]	= @selected_bg_color
	fg[NORMAL]	= @menu_fg_color # Fix for XFCE menu text
	fg[PRELIGHT]	= @selected_fg_color
	fg[SELECTED]	= @selected_fg_color

	engine "murrine" {
		textstyle = 0
		border_shades = { 1.4, 1.4 }
	}
}

style "evolve-separator-menu-item" {
	xthickness = 1
	ythickness = 1

	GtkSeparatorMenuItem::horizontal-padding = 0
}

style "evolve-menubar" = "evolve-default" {
	ythickness = 0

	bg[SELECTED] = @selected_bg_color
	bg[NORMAL] = @menubar_bg_color
	bg[PRELIGHT] = @selected_bg_color
	bg[ACTIVE] = shade (1.40, @menubar_bg_color)
	bg[INSENSITIVE] = shade (1.40, @menubar_bg_color)

	fg[NORMAL] = @menubar_fg_color
	fg[PRELIGHT] = @selected_fg_color
	fg[SELECTED] = @selected_fg_color
	fg[ACTIVE] = @selected_fg_color
	fg[INSENSITIVE] = mix (1.05, shade (1.05, @menubar_bg_color), @menubar_fg_color)

	engine "murrine" {
		roundness = 0
	}
}

style "evolve-menubaritem" {
	xthickness = 3
	ythickness = 3

	engine "murrine" {
		roundness = 0
	}
}

# Toolbars

style "evolve-toolbar" = "evolve-default" {

	bg[NORMAL] = @toolbar_bg_color
	bg[PRELIGHT] = shade (1.02, @toolbar_bg_color)
	bg[SELECTED] = @selected_bg_color
	bg[INSENSITIVE] = @toolbar_bg_color
	bg[ACTIVE] = shade (0.9, @toolbar_bg_color)

	fg[NORMAL] = @toolbar_fg_color
	fg[PRELIGHT] = @toolbar_fg_color
	fg[SELECTED] = @selected_fg_color
	fg[ACTIVE] = @toolbar_fg_color
	fg[INSENSITIVE] = mix (0.5, @toolbar_bg_color, @toolbar_fg_color)

	engine "murrine" {
		gradient_shades = { 1.00, 0.95, 0.94, 0.90 }
	}
}

style "evolve-toolbutton" = "evolve-button" {

	bg[NORMAL] = @toolbar_bg_color
	bg[PRELIGHT] = shade (1.02, @toolbar_bg_color)
	bg[SELECTED] = @selected_bg_color
	bg[INSENSITIVE] = @toolbar_bg_color
	bg[ACTIVE] = shade (0.9, @toolbar_bg_color)

	fg[NORMAL] = @toolbar_fg_color
	fg[PRELIGHT] = @toolbar_fg_color
	fg[SELECTED] = @selected_fg_color
	fg[ACTIVE] = @toolbar_fg_color
	fg[INSENSITIVE] = mix (0.5, @toolbar_bg_color, @toolbar_fg_color)

	engine "murrine" {
	}
}

class "GtkToolbar" style "evolve-toolbar"
class "GtkHandleBox" style "evolve-toolbar"

# Panels

style "evolve-panel" {
	xthickness = 1
	ythickness = 0

	bg[NORMAL] = @bg_color
	bg[PRELIGHT] = shade (1.1, @bg_color)
	bg[ACTIVE] = shade (0.9, @bg_color)
	bg[SELECTED] = shade (0.97, @bg_color)

	fg[NORMAL] = @fg_color
	fg[PRELIGHT] = @fg_color
	fg[SELECTED] = @fg_color 
	fg[ACTIVE] = @fg_color

	text[NORMAL] = @text_color
	text[PRELIGHT] = @text_color
	text[SELECTED] = @text_color
	text[ACTIVE] = @text_color
	
	engine "murrine" {
		roundness = 0
	}
}

widget "*PanelWidget*" style "evolve-panel"
widget "*PanelApplet*" style "evolve-panel"
widget "*fast-user-switch*" style "evolve-panel"
widget "*CPUFreq*Applet*" style "evolve-panel"
widget "*indicator-applet*" style "evolve-panel"
class "PanelApp*" style "evolve-panel"
class "PanelToplevel*" style "evolve-panel"
widget_class "*PanelToplevel*" style "evolve-panel"
widget_class "*notif*" style "evolve-panel"
widget_class "*Notif*" style "evolve-panel"
widget_class "*Tray*" style "evolve-panel" 
widget_class "*tray*" style "evolve-panel"
widget_class "*computertemp*" style "evolve-panel"
widget_class "*Applet*Tomboy*" style "evolve-panel"
widget_class "*Applet*Netstatus*" style "evolve-panel"
widget "*gdm-user-switch-menubar*" style "evolve-panel"

style "bold-panel-item" {
	font_name = "Bold"

	engine "murrine" {
		roundness = 0
	}
}

widget "*Panel*MenuBar*" style "bold-panel-item"
widget "*gimmie*" style "bold-panel-item"

# widget_class "*Mail*" style "evolve-panel" # Disabled to fix Evolution bug
# class "*Panel*" style "evolve-panel" # Disabled to fix bug

# XFCE Styles

style "xfce-header" {
	bg[NORMAL]	 = shade (0.9, @bg_color)
	base[NORMAL]	 = shade (1.18, @bg_color)
}

style "xfdesktop-windowlist" {
	bg[NORMAL] = @base_color
	fg[INSENSITIVE] = shade (0.95, @base_color)
	text[INSENSITIVE] = shade (0.95, @base_color)
}

style "xfdesktop-icon-view" {
    XfdesktopIconView::label-alpha = 20
    XfdesktopIconView::selected-label-alpha = 80
    XfdesktopIconView::shadow-color = @tooltip_bg_color
    XfdesktopIconView::selected-shadow-color = @tooltip_bg_color
    XfdesktopIconView::shadow-x-offset = 1
    XfdesktopIconView::selected-shadow-x-offset = 1
    XfdesktopIconView::shadow-y-offset = 1
    XfdesktopIconView::selected-shadow-y-offset = 1
    XfdesktopIconView::cell-spacing = 2
    XfdesktopIconView::cell-padding = 6
    XfdesktopIconView::cell-text-width-proportion = 1.9
    fg[NORMAL] = shade (0.9, @selected_fg_color)
    fg[ACTIVE] = @selected_fg_color
    engine "murrine"
    {
    }
}

style "xfwm-tabwin" {
	Xfwm4TabwinWidget::border-width = 1
	Xfwm4TabwinWidget::icon-size = 64

	engine "murrine" {
		focusstyle = 0
	}
}

style "xfsm-logout" {

	engine "murrine" {
        }	
}

style "thunar-sidepane"
{
	base[NORMAL]		= shade (0.9,@base_color)
	base[INSENSITIVE]	= shade (0.9,@base_color)
	
	bg[NORMAL]		= shade (0.92,@base_color)
	bg[PRELIGHT]		= shade (1.5,@selected_bg_color)
}

style "workspace-switcher" = "evolve-panel" {
	bg[SELECTED]	= mix (0.3, shade (1.35,@selected_bg_color), shade (0.9,@base_color))
}

widget_class "*ThunarShortcutsView*"	style "thunar-sidepane"
widget_class "*ThunarTreeView*"		style "thunar-sidepane"
widget_class "*GtkFileChooserWidget.GtkFileChooserDefault.GtkVBox.GtkHPaned.GtkVBox.GtkScrolledWindow.GtkTreeView*"	style "thunar-sidepane"

widget "*Xfce*Panel*"		style "evolve-panel"
class "*Xfce*Panel*"		style "evolve-panel"
widget "*WnckPager*"		style "workspace-switcher"

widget_class "*XfceHeading*" style "xfce-header"
widget_class "*XfceDesktop*" style "xfdesktop-windowlist"
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
widget "xfwm4-tabwin*" style "xfwm-tabwin"
widget_class "*XfsmLogoutDialog*" style "xfsm-logout"

# Google Chrome/Chromium Styles (requires 9.0.597 or newer)

style "chromium-toolbar-button" {
	engine "murrine" {
		roundness = 2
		textstyle = 0
	}
}

style "chrome-gtk-frame" {
	ChromeGtkFrame::frame-color = @bg_color
	ChromeGtkFrame::inactive-frame-color = @bg_color

	ChromeGtkFrame::frame-gradient-size = 16
	ChromeGtkFrame::frame-gradient-color = @bg_color

	ChromeGtkFrame::incognito-frame-color = shade (0.97, @bg_color)
	ChromeGtkFrame::incognito-inactive-frame-color = shade (0.97, @bg_color)

	ChromeGtkFrame::incognito-frame-gradient-size = 16
	ChromeGtkFrame::incognito-frame-gradient-color = shade (0.97, @bg_color)

	ChromeGtkFrame::scrollbar-trough-color = shade (0.97, @bg_color)
	ChromeGtkFrame::scrollbar-slider-prelight-color = shade (1.02, @bg_color)
	ChromeGtkFrame::scrollbar-slider-normal-color = shade (1.12, @bg_color)
}

class "ChromeGtkFrame" style "chrome-gtk-frame"

widget_class "*Chrom*Button*" style "chromium-toolbar-button"

# General Style Application

class "GtkWidget" style "evolve-default"

class "GtkFrame" style "evolve-wide"
class "MetaFrames" style "metacity-frame"
class "GtkSeparator" style "evolve-wide"
class "GtkWindow" style "metacity-frame"
class "GtkCalendar" style "evolve-wide"

class "GtkSpinButton" style "evolve-spinbutton"
class "GtkScale" style "evolve-scale"
class "GtkVScale" style "evolve-vscale"
class "GtkHScale" style "evolve-hscale"
class "GtkScrollbar" style "evolve-scrollbar"
class "GtkVScrollbar" style "evolve-vscrollbar"
class "GtkHScrollbar" style "evolve-hscrollbar"

class "GtkRadio*" style "evolve-radiocheck"
class "GtkCheck*" style "evolve-radiocheck"

class "GtkEntry" style "evolve-entry"

widget_class "*<GtkNotebook>" style "evolve-notebook"
widget_class "*<GtkNotebook>*<GtkEventBox>" style "evolve-notebook-bg"
widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "evolve-notebook-bg"
widget_class "*<GtkNotebook>*<GtkLayout>" style "evolve-notebook-bg"
widget_class "*.GtkNotebook.*.GtkViewport" style "evolve-notebook"

widget_class "*<GtkButton>" style "evolve-button"
widget_class "*<GtkStatusbar>*" style "evolve-statusbar"
widget_class "*<GtkProgress>" style "evolve-progressbar"
widget_class "*<GtkProgressBar>" style "evolve-progressbar"

widget_class "*<GtkComboBoxEntry>*" style "evolve-comboboxentry"
widget_class "*<GtkCombo>*" style "evolve-comboboxentry"

widget_class "*<GtkMenu>*" style "evolve-menu"
widget_class "*<GtkMenuItem>*" style "evolve-menu-item"
widget_class "*<GtkSeparatorMenuItem>*" style "evolve-separator-menu-item"
widget_class "*Menu*.*Sepa*"  style "evolve-separator-menu-item"
widget_class "*<GtkMenuBar>*" style "evolve-menubar"
widget_class "*<GtkMenuBar>*<GtkMenuItem>*" style "evolve-menubaritem"

widget_class "*GtkToolButton*" style "evolve-toolbutton"
widget_class "*GtkToggleToolButton*" style "evolve-toolbutton"
widget_class "*GtkMenuToolButton*" style "evolve-toolbutton"
widget_class "*GtkToolbar*Button" style "evolve-toolbutton"

widget_class "*.<GtkFrame>.<GtkLabel>" style "evolve-frame-title"

widget_class "*.<GtkTreeView>*" style "evolve-treeview"
widget_class "*.<GtkTreeView>.<GtkButton>" style "evolve-treeview-header"
widget_class "*.<GtkCTree>.<GtkButton>" style "evolve-treeview-header"
widget_class "*.<GtkList>.<GtkButton>" style "evolve-treeview-header"
widget_class "*.<GtkCList>.<GtkButton>" style "evolve-treeview-header"

widget "gtk-tooltip*" style "evolve-tooltips"

widget_class "*<GtkScrolledWindow>*<OsScrollbar>" style "evolve-overlay-scrollbar"

# Workarounds and Non-Standard Styling

style "text-is-fg-color-workaround" {
	text[NORMAL] = @text_color
	text[PRELIGHT] = @fg_color
	text[SELECTED] = @selected_fg_color
	text[ACTIVE] = @fg_color
	text[INSENSITIVE] = mix (0.85, shade (0.75, @bg_color), @fg_color)
}

widget_class "*.<GtkComboBox>.<GtkCellView>" style "text-is-fg-color-workaround"

style "fg-is-text-color-workaround" {
	fg[NORMAL] = @text_color
	fg[PRELIGHT] = @text_color
	fg[ACTIVE] = @selected_fg_color
	fg[SELECTED] = @selected_fg_color
	fg[INSENSITIVE] = darker (@fg_color)
}

widget_class "*<GtkListItem>*" style "fg-is-text-color-workaround"
widget_class "*<GtkCList>" style "fg-is-text-color-workaround"
widget_class "*<EelEditableLabel>" style "fg-is-text-color-workaround"

style "evolve-evo-new-button-workaround" {
	engine "murrine" {
		toolbarstyle = 0
	}
}

widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "evolve-evo-new-button-workaround"

style "inkscape-toolbar-fix" {
	engine "murrine" {
                gradient_shades = { 1.0, 1.0, 1.0, 1.0 }
                highlight_shade = 1.0
	}
}

#widget "*GtkHandleBox*" style "inkscape-toolbar-fix"
#widget "*HandleBox*CommandsToolbar*" style "inkscape-toolbar-fix"
#widget "*HandleBox*SnapToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*SelectToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*NodeToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*TweakToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*ZoomToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*StarToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*RectToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*3DBoxToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*ArcToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*SpiralToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*PencilToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*PenToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*CalligraphyToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*EraserToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*LPEToolToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*DropperToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*ConnectorToolbar*" style "inkscape-toolbar-fix"
widget "*HandleBox*PaintbucketToolbar*" style "inkscape-toolbar-fix"

# Performance Fixes

style "performance-fix" {
	engine "murrine" {
		textstyle = 0
	}
}

widget_class "*gtkmm__GtkWindow*" style "performance-fix" # Inkscape
widget_class "*GimpDisplayShell*" style "performance-fix" # Gimp
widget_class "*GimpToolbox*" style "performance-fix"
widget_class "*GimpMenuDock*" style "performance-fix"
widget "*OOoFixed*" style "performance-fix" # Openoffice/Libreoffice
widget_class "*MozContainer*" style "performance-fix" # Firefox (Not sure if this one does anything though.)
